import {
	req
} from '../../utils/req.js';
export default {
	// 申请农场主
	applyFarmer(param) {
		return req.post("farm/app/IndexUser/applyFarmer", param)
	},
	// 农场主详情
	farmerInfo(param) {
		return req.get("farm/app/IndexUser/farmerInfo", param)
	},
	// 修改农场信息
	farmerUpdate(param) {
		return req.post("farm/app/IndexFarmer/farmerUpdate", param)
	},
	// 土地列表
	landList(param) {
		return req.get("farm/app/IndexFarmer/landList", param)
	},
	// 土地/认养分类 type 1土地；2认养
	landAndClaimCate(param) {
		return req.get("farm/app/IndexFarmer/landAndClaimCate", param)
	},
	// 土地详情
	landInfo(param) {
		return req.get("farm/app/IndexFarmer/landInfo", param)
	},
	// 新增土地
	landAdd(param) {
		return req.post("farm/app/IndexFarmer/landAdd", param)
	},
	// 编辑土地
	landUpdate(param) {
		return req.post("farm/app/IndexFarmer/landUpdate", param)
	},
	// 上下架/删除土地
	landStatusUpdate(param) {
		return req.post("farm/app/IndexFarmer/landStatusUpdate", param)
	},
	// 仪器下拉
	machineSelect(param) {
		return req.get("farm/app/IndexFarmer/machineSelect", param)
	},
	// 监控下拉
	monitorSelect(param) {
		return req.get("farm/app/IndexFarmer/monitorSelect", param)
	},
	// 地块列表
	massifList(param) {
		return req.get("farm/app/IndexFarmer/massifList", param)
	},
	// 地块下拉
	massifSelect(param) {
		return req.get("farm/app/IndexFarmer/massifSelect", param)
	},
	// 地块详情
	massifInfo(param) {
		return req.get("farm/app/IndexFarmer/massifInfo", param)
	},
	// 新增地块
	massifAdd(param) {
		return req.post("farm/app/IndexFarmer/massifAdd", param)
	},
	// 编辑地块
	massifUpdate(param) {
		return req.post("farm/app/IndexFarmer/massifUpdate", param)
	},
	// 种子列表
	seedList(param) {
		return req.get("farm/app/IndexFarmer/seedList", param)
	},
	// 种子下拉
	seedSelect(param) {
		return req.get("farm/app/IndexFarmer/seedSelect", param)
	},
	// 种子详情
	seedInfo(param) {
		return req.get("farm/app/IndexFarmer/seedInfo", param)
	},
	// 新增种子
	seedAdd(param) {
		return req.post("farm/app/IndexFarmer/seedAdd", param)
	},
	// 编辑种子
	seedUpdate(param) {
		return req.post("farm/app/IndexFarmer/seedUpdate", param)
	},
	// 上下架/删除种子
	seedStatusUpdate(param) {
		return req.post("farm/app/IndexFarmer/seedStatusUpdate", param)
	},
	// 溯源列表
	sourceList(param) {
		return req.get("farm/app/IndexFarmer/sourceList", param)
	},
	// 溯源下拉
	sourceSelect(param) {
		return req.get("farm/app/IndexFarmer/sourceSelect", param)
	},
	// 溯源详情
	sourceInfo(param) {
		return req.get("farm/app/IndexFarmer/sourceInfo", param)
	},
	// 新增溯源
	sourceAdd(param) {
		return req.post("farm/app/IndexFarmer/sourceAdd", param)
	},
	// 编辑溯源
	sourceUpdate(param) {
		return req.post("farm/app/IndexFarmer/sourceUpdate", param)
	},
	// 溯源二维码
	getSourceQr(param) {
		return req.post("farm/app/IndexFarmer/getSourceQr", param)
	},
	// 养殖列表
	breedList(param) {
		return req.get("farm/app/IndexFarmer/breedList", param)
	},
	// 养殖详情
	breedInfo(param) {
		return req.get("farm/app/IndexFarmer/breedInfo", param)
	},
	// 新增养殖
	breedAdd(param) {
		return req.post("farm/app/IndexFarmer/breedAdd", param)
	},
	// 编辑养殖
	breedUpdate(param) {
		return req.post("farm/app/IndexFarmer/breedUpdate", param)
	},
	// 上下架/删除养殖
	claimStatusUpdate(param) {
		return req.post("farm/app/IndexFarmer/claimStatusUpdate", param)
	},
	// 认养列表
	claimList(param) {
		return req.get("farm/app/IndexFarmer/claimList", param)
	},
	// 认养详情
	claimInfo(param) {
		return req.get("farm/app/IndexFarmer/claimInfo", param)
	},
	// 新增认养
	claimAdd(param) {
		return req.post("farm/app/IndexFarmer/claimAdd", param)
	},
	// 编辑认养
	claimUpdate(param) {
		return req.post("farm/app/IndexFarmer/claimUpdate", param)
	},
	// 认养订单列表
	claimOrderList(param) {
		return req.get("farm/app/IndexFarmer/claimOrderList", param)
	},
	// 土地订单列表
	landOrderList(param) {
		return req.get("farm/app/IndexFarmer/landOrderList", param)
	},
	// 商城订单列表
	shopOrderList(param) {
		return req.get("farm/app/IndexFarmer/shopOrderList", param)
	},
	// 商城订单详情
	shopOrderInfo(param) {
		return req.get("farm/app/IndexFarmer/shopOrderInfo", param)
	},
	// 商城订单发货
	shopOrderSend(param) {
		return req.post("farm/app/IndexFarmer/shopOrderSend", param)
	},
	// 配送订单列表
	farmerSendOrderList(param) {
		return req.get("farm/app/IndexFarmer/farmerSendOrderList", param)
	},
	// 配送订单确认取货
	sendOrderPickup(param) {
		return req.post("farm/app/IndexFarmer/sendOrderPickup", param)
	},
	// 配送订单发货
	sendOrderSend(param) {
		return req.post("farm/app/IndexFarmer/sendOrderSend", param)
	},
	// 财务管理
	farmerFinanceInfo(param) {
		return req.get("farm/app/IndexFarmer/farmerFinanceInfo", param)
	},
	// 流水记录
	farmerFinanceList(param) {
		return req.get("farm/app/IndexFarmer/farmerFinanceList", param)
	},
	// 申请提现
	applyWallet(param) {
		return req.post("farm/app/IndexFarmer/applyWallet", param)
	},
}
